package com.siyuanren.gcocp.service;

import com.siyuanren.gcocp.entity.WxActive;
import com.siyuanren.gcocp.entity.WxUserVoucher;
import com.siyuanren.gcocp.entity.WxVoucher;
import com.siyuanren.gcocp.vo.QueryVoucherVO;

import java.util.List;

/**
 * Created by   anxing
 * Project_name gcocp-parent
 * Path         com.siyuanren.gcocp.service
 * Date         2018/6/8
 * Time         10:11
 * Description 优惠券服务类
 */
public interface VoucherService {

    /**
     * 插入优惠券
     * @param voucher
     * @return
     */
    public int insert(WxVoucher voucher);

    /**
     * 返回指定优惠券
     * @param followVoucherId
     * @return
     */
    WxVoucher getVoucherById(Integer followVoucherId);
}
